<?php
require_once 'class/control.class.php';
ob_start();

$obj = new Control('consultar','segmentos',$_GET['i']);
$obj->Consult();
$con = $obj->result->lista;
?>
	<div id="destaque" style="height: 200px;">
		<?php 
			$obj = new Control('visualizar','banners','3');
			$obj->Lister();
		?>
	</div>
	<div id="conteudo">
		<div id="left" style="background-color:transparent;padding-top:0px;">
			<h1 style="text-transform: uppercase;">SEGMENTOS DE ATUAÇÃO</h1>
			<h3 style="text-transform: uppercase;" class="cor_1"><?php echo $con['titulo'];?></h3>
			<?php echo $con['texto'];?>
		</div>
		<div id="right" style="width:200px;background-color:transparent;padding-top:35px;text-align:right;text-transform: uppercase;">
			<?php 
				$obj = new Control('visualizar','segmentos','');
				$obj->Lister();
			?>
		</div>
		<br class="clear" />
	</div>
	<script type="text/javascript">
    	$(document).ready(function() {
        	var url = getQueryString('i');
        	$('#right a').css('font-weight','normal !important');
			$('#right a[href="segmentos.php?i='+ url +'"]').css('font-weight','bold');
			$('#right a[href="segmentos.php?i='+ url +'"]').addClass('cor_1');
			Cufon.refresh();
			$('.window').css('height','200px');
			$('.image_reel a img').css('height','200px');
		});
	</script>
<?php 
$conteudo = ob_get_contents();
ob_get_clean();
include ("master.php");
?>	